Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
9 135

Files

Files Errors
/control/Command.java 16
/control/CommandController.java 53
/control/CommandDispatcher.java 38
/control/ViewHelper.java 28

/control/Command.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Redundant 'public' modifier. 60
Redundant 'public' modifier. 72
Line has trailing spaces. 73
Redundant throws: 'LogicException' is subclass of 'SQLException'. 73
Unable to get class information for LogicException. 73
Redundant throws: 'SQLException' is subclass of 'ServletException'. 73
Unable to get class information for ServletException. 73
Redundant throws: 'ServletException' is subclass of 'UtilException'. 73
Unable to get class information for ServletException. 73
Unable to get class information for UtilException. 74
Redundant 'public' modifier. 81
Expected @param tag for 'dispathcher'. 81
Expected @throws tag for 'ServletException'. 81
Unable to get class information for ServletException. 81

/control/CommandController.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter config should be final. 72
'config' hides a field. 72
Expected @param tag for 'config'. 72
Expected @throws tag for 'ServletException'. 72
Unable to get class information for ServletException. 72
Line is longer than 80 characters. 74
Line is longer than 80 characters. 75
Line is longer than 80 characters. 76
Parameter config should be final. 94
'config' hides a field. 94
Expected @param tag for 'config'. 94
Parameter request should be final. 95
Parameter response should be final. 96
Expected @throws tag for 'ServletException'. 97
Redundant throws: 'ServletException' is subclass of 'IOException'. 97
Unable to get class information for ServletException. 97
Expected @throws tag for 'IOException'. 97
Parameter e should be final. 130
Expected @param tag for 'e'. 130
Parameter request should be final. 130
Expected @param tag for 'request'. 130
Parameter response should be final. 131
Expected @param tag for 'response'. 131
Expected @throws tag for 'ServletException'. 132
Redundant throws: 'ServletException' is subclass of 'IOException'. 132
Unable to get class information for ServletException. 132
Expected @throws tag for 'IOException'. 132
Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 142
Parameter request should be final. 142
Parameter response should be final. 143
Redundant throws: 'ServletException' is subclass of 'IOException'. 144
Unable to get class information for ServletException. 144
Method 'doPost' is not designed for extension - needs to be abstract, final or empty. 151
Parameter request should be final. 151
Parameter response should be final. 152
Redundant throws: 'ServletException' is subclass of 'IOException'. 153
Unable to get class information for ServletException. 153
Parameter request should be final. 163
Parameter response should be final. 164
Parameter page should be final. 164
Expected @param tag for 'page'. 164
Expected @throws tag for 'ServletException'. 165
Redundant throws: 'ServletException' is subclass of 'IOException'. 165
Unable to get class information for ServletException. 165
Expected @throws tag for 'IOException'. 165
Line is longer than 80 characters. 170
Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 177
Line is longer than 80 characters. 178
Line is longer than 80 characters. 179
Line is longer than 80 characters. 180
Line is longer than 80 characters. 181

/control/CommandDispatcher.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter config should be final. 95
'config' hides a field. 95
Expected @param tag for 'config'. 95
Parameter request should be final. 95
'request' hides a field. 95
Parameter response should be final. 96
'response' hides a field. 96
Method 'getProperties' is not designed for extension - needs to be abstract, final or empty. 112
Method 'getRequest' is not designed for extension - needs to be abstract, final or empty. 121
Method 'getResponse' is not designed for extension - needs to be abstract, final or empty. 130
Method 'getServletConfig' is not designed for extension - needs to be abstract, final or empty. 139
Method 'getCommand' is not designed for extension - needs to be abstract, final or empty. 148
Line has trailing spaces. 149
Expected @throws tag for 'UtilException'. 149
Redundant throws: 'UtilException' is subclass of 'PropertiesFileReadException'. 149
Unable to get class information for UtilException. 149
Expected @throws tag for 'PropertiesFileReadException'. 149
Redundant throws: 'PropertiesFileReadException' is subclass of 'JavaClassRefectException'. 149
Unable to get class information for PropertiesFileReadException. 149
Expected @throws tag for 'JavaClassRefectException'. 150
Unable to get class information for JavaClassRefectException. 150
Method 'executeCommand' is not designed for extension - needs to be abstract, final or empty. 167
Line has trailing spaces. 168
Redundant throws: 'JavaClassRefectException' is subclass of 'LogicException'. 168
Unable to get class information for JavaClassRefectException. 168
Redundant throws: 'LogicException' is subclass of 'SQLException'. 168
Unable to get class information for LogicException. 168
Redundant throws: 'SQLException' is subclass of 'ServletException'. 169
Unable to get class information for ServletException. 169
Redundant throws: 'ServletException' is subclass of 'UtilException'. 169
Unable to get class information for ServletException. 169
Unable to get class information for UtilException. 169
Unused @param tag for 'the'. 192
Parameter servletrequest should be final. 196
Expected @param tag for 'servletrequest'. 196
Line is longer than 80 characters. 221

/control/ViewHelper.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Class ViewHelper should be declared as final. 54
Line is longer than 80 characters. 58
Line has trailing spaces. 80
Expected @throws tag for 'PropertiesFileReadException'. 80
Redundant throws: 'PropertiesFileReadException' is subclass of 'JavaClassRefectException'. 80
Unable to get class information for PropertiesFileReadException. 80
Expected @throws tag for 'JavaClassRefectException'. 81
Unable to get class information for JavaClassRefectException. 81
Line is longer than 80 characters. 84
Line is longer than 80 characters. 93
Line has trailing spaces. 110
Expected @throws tag for 'PropertiesFileReadException'. 110
Redundant throws: 'PropertiesFileReadException' is subclass of 'JavaClassRefectException'. 110
Unable to get class information for PropertiesFileReadException. 110
Expected @throws tag for 'JavaClassRefectException'. 111
Unable to get class information for JavaClassRefectException. 111
Unused Javadoc tag. 124
Parameter commandMap should be final. 126
Expected @param tag for 'commandMap'. 126
Parameter action should be final. 137
Line has trailing spaces. 138
Expected @throws tag for 'PropertiesFileReadException'. 138
Redundant throws: 'PropertiesFileReadException' is subclass of 'JavaClassRefectException'. 138
Unable to get class information for PropertiesFileReadException. 138
Expected @throws tag for 'JavaClassRefectException'. 139
Unable to get class information for JavaClassRefectException. 139